import createApp from './create-app'
import bus from './util/bus.js';

const {app, router} = createApp();

bus.$on('auth', () => {
	router.push('/login');
});

router.onReady(() => {
	app.$mount("#root");
});
